package com.myspring.sample.factorybean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {

    @Bean()
    public MyFactoryBean myFactoryBean() {
        return new MyFactoryBean();
    }

}
